<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>成语典故录库</title>
</head>
<body>
<f:view>
	<h:form>
		<table>
			<tr>
				<td colspan="2"><h2>成语典故录库</h2></td>
			</tr>
			<tr>
				<td>成语典故</td>
				<td><h:inputText value="#{idiomMB.idiom.idiomword }"></h:inputText></td>
			</tr>
			
			<tr>
				<td>成语典故解释</td>
				<td>
					<h:inputTextarea value="#{idiomMB.idiom.idiominfo }" cols="20" rows="10"></h:inputTextarea>
				</td>
			</tr>
			<tr>
				<td><h:commandButton type="submit" action="#{idiomMB.addIdiom }" value="提交"></h:commandButton></td>
				<td><h:commandButton type="reset" value="重置"></h:commandButton>
			</tr>
		</table>
	</h:form>
</f:view>
</body>
</html>